package com.hui.api.impl;

import com.hui.api.DemoService;
import org.apache.log4j.Logger;


/**
 * @author yhq
 * @since 2017-03-09
 */

@SuppressWarnings("unused")
public class DemoServiceImpl implements DemoService {

    private final Logger logger = Logger.getLogger(getClass());

    /**
     * @param a param1
     * @param b param2
     * @return str
     */
    @Override
    public String getResult(int a, int b) {
        Integer i = a + b;
        logger.info(i.toString());
        return i.toString();
    }
}
